Bundler\Models\Offer S

Total Complexity 24
Dependencies 1
Dependents 1
Total lines 320
Lines of code 183
Logical lines of code 74
Comment lines 98
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
get_all_offers()
A
44 7 45
get_highest_priority_offer_by_product_id()
S
50 6 32
new_offer()
S
49 2 34
update_offer()
S
51 1 29
get_offer_by_id()
S
61 2 12
update_offer_products()
S
65 2 8
get_qty_discount_offers()
S
69 1 6
delete_offer()
S
72 1 5
update_offer_status()
S
71 1 5
get_offer_products()
S
67 1 7